import Vue from 'vue';
import App from './App.vue';
import MuseUI from 'muse-ui';
import 'muse-ui/dist/muse-ui.css';
import axios from 'axios';
import qs from 'qs';
import 'muse-ui/lib/styles/base.less';
import './assets/iconfont/iconfont.css'
import VideoPlayer from 'vue-video-player'
import 'vue-video-player/src/custom-theme.css'
import 'video.js/dist/video-js.css'
import router from './router'
import { Swipe, SwipeItem } from 'vue-swipe';
import VueCookies from 'vue-cookies'
import Toast from '@/components/toast/toast.js'


import Vuex from 'vuex'
import store from './store/store'

//注册轮播图
Vue.component('swipe', Swipe)  // 加这里
Vue.component('swipe-item', SwipeItem) // 加这里

Vue.use(Vuex);
Vue.use(VideoPlayer);
Vue.use(router);

Vue.use(MuseUI);
Vue.use(VueCookies);
Vue.use(Toast);



Vue.prototype.$axios = axios    //全局注册，使用方法为:this.$axios
Vue.prototype.qs = qs
Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,
  store,
}).$mount('#app')
